package com.supersonic.backend.model;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;

@Entity
public class City extends CommonFieldModel{

	@ManyToOne(cascade = CascadeType.ALL,fetch=FetchType.LAZY)
	private Province province;

	/**
	 * @return the province_
	 */
	public Province getProvince() {
		return province;
	}

	/**
	 * @param province_ the province_ to set
	 */
	public void setProvince(Province province_) {
		this.province = province_;
	}

}
